package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.DishFlavor;

import java.util.List;

/**
 * @author Xiao
 * @date 2021/9/26
 */
public interface DishFlavorService extends IService<DishFlavor> {
    boolean saveFlavors(DishDto dishDto);
    List<DishFlavor> queryFlavorsByDishId(Long dishId);
    boolean removeFlavors(Long dishId);
    boolean removeFlavorsByDishIds(List<Long> dishIds);
}
